package com.huahang.fashionpress.controller;

import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: 阿俊哥
 * @Date: 2019/8/17 12:35
 * @Version 1.0
 */
@RestController
@RequestMapping("/hello")
@Slf4j
public class HelloController {

    Logger logger = LoggerFactory.getLogger(HelloController.class);


    @RequestMapping("/word")
    public String hello(){

        log.info("欢迎注释访问" +
                "sssss");
        return "欢迎访问！";

    }
}
